#ifndef _SHELL_NOTICEINFO_BEAN_H_
#define _SHELL_NOTICEINFO_BEAN_H_

#include "Beans.h"
#include "Message.h"
using namespace std;
class NoticeInfo : public Bean
{
	public:
	NoticeInfo();
	~NoticeInfo();
	void reset();
	NoticeInfo* clone();
	//公告标题
	string headline;
	//公告内容
	string content;
	//公告时间
	string createTime;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
